<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .wd{
            background-color: red;
        }
    </style>
</head>
<body>
    <div class="wd">无敌爆爆龙1号</div>
    <div id="bb">无敌爆爆龙2号</div>
    <div >无敌爆爆龙3号</div>
    <script>
        let divs = document.getElementsByTagName("div");
        console.log(divs);
        let bb = document.getElementById("bb");
        console.log(bb);
        let wd = document.getElementsByClassName("wd");
        console.log(wd);
        document.innerHTML = "无敌爆爆龙4号";
    </script>
</body>
</html>